﻿using System.Drawing;

namespace ProjectN.Core.Fore
{
    public struct FrameInfo
    {
        public int TopX, TopY, FinX, FinY;
        public FrameInfo(int TopX, int TopY, int FinX, int FinY)
        {
            this.TopX = TopX; this.TopY = TopY; this.FinX = FinX; this.FinY = FinY;
        }

        public Point TopP { get { return new Point(TopX, TopY); } }
        public Point FinP { get { return new Point(FinX, FinY); } }
        public int ExtX { get { return TopX + FinX; } }
        public int ExtY { get { return TopY + FinY; } }
    }
}
